package com.xishu.controller;

import com.xishu.util.ServletUtil;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import java.io.File;
import java.io.IOException;

@Controller
public class AppleVerifyController {

    @GetMapping(value = "/.well-known/apple-developer-merchantid-domain-association", consumes = MediaType.ALL_VALUE)
    public void verify() throws IOException {
        File file = new File("d:/hello.rb");
        ServletUtil.downloadFile(file);
    }
}
